package com.ruoyi.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 攻略对象 app_travel_guide
 *
 * @author ruoyi
 * @date 2025-01-12
 */
public class AppTravelGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 攻略ID */
    private Long guideId;

    /** 攻略标题 */
    @Excel(name = "攻略标题")
    private String title;

    /** 攻略内容 */
    @Excel(name = "攻略内容")
    private String content;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 景点ID */
    @Excel(name = "景点ID")
    private Long spotId;

    @Excel(name = "图片")
    private String image;

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setGuideId(Long guideId)
    {
        this.guideId = guideId;
    }

    public Long getGuideId()
    {
        return guideId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setSpotId(Long spotId)
    {
        this.spotId = spotId;
    }

    public Long getSpotId()
    {
        return spotId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guideId", getGuideId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("author", getAuthor())
            .append("spotId", getSpotId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
